/**
 * @Author Fish Paradise
 * @Description
 * @Date 2019/1/30  15:31
 **/
public class MethodA extends Method {
    public MethodA(String name) {
        super(name);
    }

    @Override
    protected boolean resolve(Problem pb) {

        System.out.println("do by " + this);

        if(pb.getNumber()>50){
            return false;
        }
        return true;
    }
}
